package com.domain;

/**
 * 包含课程所有信息和教师姓名的实体类
 * 用来查询所有的课程和学生选课的课程
 */
public class CourseVo extends Course {

//    private Integer userID; //教师ID
    private String userName;    //教师姓名

    @Override
    public String toString() {
        return "Course{" + super.toString() +
                ", userName='" + userName + '\'' +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
